package sdk.webview.fmc.com.fmcsdk.fragment;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import sdk.webview.fmc.com.fmcsdk.R;
import sdk.webview.fmc.com.fmcsdk.view.GifView;


/**
 * Created by ydm on 2018/3/6.
 * 华为消息通知操作说明
 */

public class HuaweiFragment extends Fragment {

    private View rootView;

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        rootView = inflater.inflate(R.layout.huawei_fragment, container, false);
//        ImageView iv_gif = (ImageView) rootView.findViewById(R.id.iv_gif);
//        Glide.with(this).load(R.drawable.xiaomi_lock).asGif().diskCacheStrategy(DiskCacheStrategy.SOURCE)
//                .into(iv_gif);

        GifView gifImageView = (GifView)rootView.findViewById(R.id.iv_gif);
        gifImageView.setGifResource(R.drawable.xiaomi_lock);
        return rootView;
    }

    @Override
    public void onStart() {
        super.onStart();

    }
}
